package com.onefish.toolkit;

public class ClassLoader {

    private static int s = 99;
    static {
        set();
//        s = 0;
    }
//    private static int s;
    public synchronized static void set(){
        s = 1;
    }
    public synchronized static int get(){
        return s;
    }

    public static void main(String[] args) {
        System.out.println(get());
//        set();
//        System.out.println(get());
    }
}
